home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
Clean 1.2.4
/
PowerMacInterface
/
dialogs.dcl
< prev
next >
Wrap
Text File
|
1996-03-01
|
1KB
|
35 lines
definition module dialogs;
import mac_types;
:: ProcPtr :== Int;
// Initialization
InitDialogs :: !ProcPtr !Toolbox -> Toolbox;
// Creating and Disposing of Dialogs
NewDialog :: !Ptr !Rect !{#Char} !Bool !Int !WindowPtr !Bool !Int !Handle !Toolbox -> (!DialogPtr,!Toolbox);
NewCDialog :: !Ptr !Rect !{#Char} !Bool !Int !WindowPtr !Bool !Int !Handle !Toolbox -> (!DialogPtr,!Toolbox);
CloseDialog :: !DialogPtr !Toolbox -> Toolbox;
DisposDialog :: !DialogPtr !Toolbox -> Toolbox;
// Handling Dialog Events
ModalDialog :: !ProcPtr !DialogPtr !Toolbox -> (!Int, !Toolbox);
IsDialogEvent :: !(!Int,!Int,!Int,!Int,!Int,!Int) !Toolbox -> (!Bool,!Toolbox);
DialogSelect :: !(!Int,!Int,!Int,!Int,!Int,!Int) !Toolbox -> (!Bool,!DialogPtr,!Int,!Toolbox);
// Invoking Alerts
// Manipulating Items in Dialogs and Alerts
GetDItem :: !DialogPtr !Int !Toolbox -> (!Int,!Handle,!Rect,!Toolbox);
SetIText :: !Handle !{#Char} !Toolbox -> Toolbox;
GetIText :: !Handle !{#Char} !Toolbox -> (!{#Char},!Toolbox);
SelIText :: !DialogPtr !Int !Int !Int !Toolbox -> Toolbox;
OutlineButtonFunction :: ProcPtr;
DisposeRoutineDescriptor :: !ProcPtr !Toolbox -> Toolbox;
// DialogFilterFunction :: ProcPtr;